// 动态详情
.comment-detail-container {
  .title-bar-light {
    box-shadow: none;
  }

  .comment-content {
    padding: 0 16px 12px;
    bottom: calc(env(safe-area-inset-bottom) + 60px);
    // height: calc(100vh - env(safe-area-inset-bottom) - 56px);
    margin-bottom: 50px;

    .comment-title {
      font-weight: 700;
      font-size: 17px;
      color: rgba(0, 0, 0, .9);
    }

    .comment-protrait {
      margin-top: 12px;
      display: flex;
      margin-bottom: 12px;
    }

    .protrait-icon {
      width: 45px;
      height: 45px;
      margin-right: 8px;
      display: inline-block;
      border-radius: 50%;
    }

    .comment-brand {
      width: 14px;
      height: 16px;
      display: inline-block;
      margin: 0 4px 0 8px;
      vertical-align: sub;
    }

    .comment-brand-name {
      font-size: 12px;
      color: rgba(0, 0, 0, .5);
      font-weight: 400;
    }

    .comment-protrait-name {
      font-size: 12px;
      font-weight: 700;
      color: rgba(0, 0, 0, .9);
    }

    .article-protrait-tag {
      width: 14px;
      height: 16px;
      margin-left: 8px;
    }

    .comment-protrait-date {
      font-size: 10px;
      color: rgba(0, 0, 0, .6);
      margin-top: 4px;
      font-weight: 400;
      letter-spacing: 0;
    }

    image {
      width: 100%;
      // margin: 12px 0;
    }

    .comment-desc {
      font-size: 15px;
      color: rgba(0, 0, 0, .9);
      font-weight: 400;
    }

    .comment-topic {
      color: #BB8049;
    }

    .home-comment-img {
      display: inline-block;
      aspect-ratio: 1 / 1;
      height: auto;
      object-fit: fill;
      flex: 1;
      min-width: calc(33.3% - 4px);

      margin-bottom: 4px;
    }
  }

  .comment-footer {
    height: 56px;
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0, 0, 0, 0.1);

    .at-row {
      width: calc(100% - 32px);
      margin: 0 auto;
    }

    .custom-share-wrapper {
      width: 21px;
      height: 21px;
      // margin: 0 0 3px;
      padding: 0;
      line-height: 19px;
      background-color: transparent;

      .footer-icon {
        width: 21px;
        height: 19px;
        font-size: 10px;
      }

    }

    .footer-icon {
      width: 21px;
      height: 19px;
      display: block;
      position: relative;
      margin: 0 auto;
    }

    .footer-icon-product {
      width: 43px;
      height: 34px;
      display: block;
      left: calc(50% - 22px);
      position: relative;
      border: 0.5px solid #C4C4C4;
    }

    .at-col {
      display: flex;
      flex-direction: column;
      text-align: center;
      margin-top: 11px;
    }

    .custom-share-wrapper::after {
      border: none;
    }

    .left-btn {
      width: 40px;
      padding-top: 9px;
      margin-right: 16px;

      .footer-text {
        height: 28px;
        line-height: 28px;
        font-size: 10px;
        top: 30px;
        position: absolute;
      }
    }

    .right-btn {
      display: flex;
      padding-top: 6px;
      right: 16px;
      position: absolute;

      .right-product {
        margin-left: 28px;

        .right-product-icon {
          width: 45px;
          height: 34px;
          border: 0.5px solid #E5E5E5;
          position: relative;

          .footer-icon-product {
            width: 45px;
            height: 34px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
        }
      }

      .footer-text {
        font-size: 10px;
        color: rgba(0, 0, 0, .6);
        font-weight: 400;
        background-color: transparent;
        border: none !important;
        padding: 0;
        width: 40px;
        text-align: left;
      }
    }

    .footer-text {
      font-size: 10px;
      color: rgba(0, 0, 0, .6);
      font-weight: 400;
      background-color: transparent;
      border: none !important;
      padding: 0;
      width: 40px;
      text-align: center;
    }

    .footer-text::after {
      border: none !important;
    }
  }

  .home-comment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 6px;
    position: relative;
    gap: 4px;
  }

  .home-comment-list-1 {
    .home-comment-img {
      flex: 0 0 49%;
      height: -moz-fit-content;
      height: fit-content;
    }
  }

  .home-comment-list-4 {
    .home-comment-img {
      min-height: 170px;
      flex: 0 0 49%;
    }
  }

  .home-comment-list-5,
  .home-comment-list-7,
  .home-comment-list-8,
  .home-comment-list-9 {
    justify-content: flex-start;

    .home-comment-img:nth-child(n+4) {
      flex: 0 0 calc((100% - 8px) / 3);
    }
  }
}